/*
 *	micro T-Kernel function code
 */

#ifndef _TKFNCD_H_
#define _TKFNCD_H_

#if INT_BITWIDTH == 32
/*
 *	micro T-Kernel function code
 */
#define TFN_CRE_TSK		0x80010100
#define TFN_DEL_TSK		0x80020100
#define TFN_STA_TSK		0x80030200
#define TFN_EXT_TSK		0x80040000
#define TFN_EXD_TSK		0x80050000
#define TFN_TER_TSK		0x80060100
#define TFN_DIS_DSP		0x80070000
#define TFN_ENA_DSP		0x80080000
#define TFN_CHG_PRI		0x80090200
#define TFN_ROT_RDQ		0x800a0100
#define TFN_REL_WAI		0x800b0100
#define TFN_GET_TID		0x800c0000
#define TFN_GET_REG		0x800d0400
#define TFN_SET_REG		0x800e0400
#define TFN_REF_TSK		0x800f0200
#define TFN_SUS_TSK		0x80100100
#define TFN_RSM_TSK		0x80110100
#define TFN_FRSM_TSK	0x80120100
#define TFN_SLP_TSK		0x80130100
#define TFN_WUP_TSK		0x80140100
#define TFN_CAN_WUP		0x80150100
#define TFN_CRE_SEM		0x80160100
#define TFN_DEL_SEM		0x80170100
#define TFN_SIG_SEM		0x80180200
#define TFN_WAI_SEM		0x80190300
#define TFN_REF_SEM		0x801a0200
#define TFN_CRE_MTX		0x801b0100
#define TFN_DEL_MTX		0x801c0100
#define TFN_LOC_MTX		0x801d0200
#define TFN_UNL_MTX		0x801e0100
#define TFN_REF_MTX		0x801f0200
#define TFN_CRE_FLG		0x80200100
#define TFN_DEL_FLG		0x80210100
#define TFN_SET_FLG		0x80220200
#define TFN_CLR_FLG		0x80230200
#define TFN_WAI_FLG		0x80240500
#define TFN_REF_FLG		0x80250200
#define TFN_CRE_MBX		0x80260100
#define TFN_DEL_MBX		0x80270100
#define TFN_SND_MBX		0x80280200
#define TFN_RCV_MBX		0x80290300
#define TFN_REF_MBX		0x802a0200
#define TFN_CRE_MBF		0x802b0100
#define TFN_DEL_MBF		0x802c0100
#define TFN_SND_MBF		0x802d0400
#define TFN_RCV_MBF		0x802e0300
#define TFN_REF_MBF		0x802f0200
#define TFN_CRE_POR		0x80300100
#define TFN_DEL_POR		0x80310100
#define TFN_CAL_POR		0x80320500
#define TFN_ACP_POR		0x80330500
#define TFN_FWD_POR		0x80340500
#define TFN_RPL_RDV		0x80350300
#define TFN_REF_POR		0x80360200
#define TFN_DEF_INT		0x80370200
#define TFN_RET_INT		0x80380000
#define TFN_CRE_MPL		0x80390100
#define TFN_DEL_MPL		0x803a0100
#define TFN_GET_MPL		0x803b0400
#define TFN_REL_MPL		0x803c0200
#define TFN_REF_MPL		0x803d0200
#define TFN_CRE_MPF		0x803e0100
#define TFN_DEL_MPF		0x803f0100
#define TFN_GET_MPF		0x80400300
#define TFN_REL_MPF		0x80410200
#define TFN_REF_MPF		0x80420200
#define TFN_SET_TIM		0x80430100
#define TFN_GET_TIM		0x80440100
#define TFN_GET_OTM		0x80450100
#define TFN_DLY_TSK		0x80460100
#define TFN_CRE_CYC		0x80470100
#define TFN_DEL_CYC		0x80480100
#define TFN_STA_CYC		0x80490100
#define TFN_STP_CYC		0x804a0100
#define TFN_REF_CYC		0x804b0200
#define TFN_CRE_ALM		0x804c0100
#define TFN_DEL_ALM		0x804d0100
#define TFN_STA_ALM		0x804e0200
#define TFN_STP_ALM		0x804f0100
#define TFN_REF_ALM		0x80500200
#define TFN_REF_VER		0x80510100
#define TFN_REF_SYS		0x80520100
#endif

#endif /* _TKFNCD_H_ */
